package fei.zhou.springboot1.business.bean.demo5;


import java.util.Date;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

@Component
@ConfigurationProperties(prefix = "person")
@Data
public class Demo5 {
    private String lastName;
    private String lastName2;
    private Integer age;

    private Boolean boss;

    private Date birth;


}

